import Router from 'koa-router'
import UserController from '../controllers/UserController'


export const userRoute = new Router({
  prefix: '/user'    // 建议每个子路由设置一个url前缀
})
//http://localhost:3000/api/v1/user/

userRoute.post('/login/guest', UserController.loginByGuest)